import axios from '../../utils/axios'
import api from '../../api'

export function home() {
    return new Promise((resolve, reject) => {
        axios.get(api.getmenu).then(res => {
            resolve(res.data)
        }).catch(err => {
            reject(err)
        })
    })
}
